package com.shushan.pages.newtype.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: ExampleSentenceBean
 * @Desciption: //单词例句bean
 * @author: zhangshihao
 * @date: 2018-07-31
 */
public class ExampleSentenceBean extends NetBaseBean {

    public String english_name;//例句英文
    public String chinese_name;//例句中文

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        if(jsonObject == null){
            return;
        }
        english_name = jsonObject.optString("english_name","");
        chinese_name = jsonObject.optString("chinese_name","");
    }

}
